package cn.krui.project.bean.system.sys_permissions;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; 
import java.util.List;

@ApiModel(value = "sys_permissions", description = "系统权限实体类")
public class sys_permissions {
    @ApiModelProperty(value = "主键id")
    private  Integer id;
    @ApiModelProperty(value = "权限名称")
    private  String permissions_name;
    @ApiModelProperty(value = "权限分组")
    private  String permissions_group;
    @ApiModelProperty(value = "权限资源链接")
    private  String permissions_code;
    @ApiModelProperty(value = "排序")
    private  Integer sort;
    @ApiModelProperty(value = "是否展开")
    private  Integer expanded;
    @ApiModelProperty(value = "菜单id")
	private  Integer menu_id; 
    @ApiModelProperty(value = "状态(跟随菜单)")
	private Integer status;
    @ApiModelProperty(value = "菜单子集合")
    private List<sys_permissions> children;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPermissions_name() {
		return permissions_name;
	}
	public void setPermissions_name(String permissions_name) {
		this.permissions_name = permissions_name;
	}
	public String getPermissions_group() {
		return permissions_group;
	}
	public void setPermissions_group(String permissions_group) {
		this.permissions_group = permissions_group;
	}
	public String getPermissions_code() {
		return permissions_code;
	}
	public void setPermissions_code(String permissions_code) {
		this.permissions_code = permissions_code;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public Integer getExpanded() {
		return expanded;
	}
	public void setExpanded(Integer expanded) {
		this.expanded = expanded;
	}
	public Integer getMenu_id() {
		return menu_id;
	}
	public void setMenu_id(Integer menu_id) {
		this.menu_id = menu_id;
	} 
	public List<sys_permissions> getChildren() {
		return children;
	}
	public void setChildren(List<sys_permissions> children) {
		this.children = children;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
